Robert Lipe [Sun, 30 Oct 2022 03:45:20 +0000 (22:45 -0500)]
Don't make it easy to iterate the state_t enum...except when we do. (#939)
tsteven4 [Fri, 28 Oct 2022 14:59:23 +0000 (08:59 -0600)]
Merge pull request #938 from tsteven4/makedoc
update makedoc perl code
tsteven4 [Fri, 28 Oct 2022 14:33:34 +0000 (08:33 -0600)]
stay on macos11 for github actions a bit longer.
macos-lastest is changing to macos12.
tsteven4 [Fri, 28 Oct 2022 14:18:46 +0000 (08:18 -0600)]
fix perlcritic issues with makedoc.
tsteven4 [Fri, 28 Oct 2022 14:00:45 +0000 (08:00 -0600)]
use strict on makedoc.
tsteven4 [Thu, 27 Oct 2022 23:39:51 +0000 (17:39 -0600)]
fix makedoc warnings.
and:
die on errors with file creation, creating autogen directory, or
running gpsbabel.
use dirname to get directory portion of $0. previously
"./xmldoc/makedoc" would fail as $dir got set to "." instead of
"./xmldoc". "perl xmldoc/makedoc" would work.
tsteven4 [Thu, 27 Oct 2022 22:00:59 +0000 (16:00 -0600)]
clean up makedoc with perltidy.
among other issues the indentation was insconsistent, and sometimes
just flat out misleading.
This establishes our perl style as that provided by the defaults
with perltidy.
tsteven4 [Sun, 23 Oct 2022 19:18:37 +0000 (13:18 -0600)]
document generation improvements (#937)
* build docs on macos CI.
* add fop for macos ci
* block out of source doc builds, change WEB default.
* add gnu-sed for macos fixdoc
* set default logger for fop
with homebrew fop 2.7 the default logger is something else besides
SimpleLog.
The LOGLEVEL statement is specific to SimpleLog.
tsteven4 [Fri, 21 Oct 2022 20:53:35 +0000 (14:53 -0600)]
Retire qmake. (#935)
* remove qmake.
* fix fedora cmake builds in CI.
* update build instructions in doc.
* more qmake cleanup
* remove rc stringification nonsense
* tweak build instructions.
tsteven4 [Sun, 16 Oct 2022 16:16:49 +0000 (10:16 -0600)]
Qmaketocmake7 (#933)
* packaging improvements.
parse package_app arguments.
add fields to macos info.plist.
pass copyright year down.
make windows workflows match.
* fix windows rc copyright
* automate copyright date for gui in windows.
tsteven4 [Wed, 12 Oct 2022 16:05:12 +0000 (10:05 -0600)]
update workflows (#932)
* move github workflows towards cmake.
* update action versions.
* update actions
* add workflow dispatch to all workflows
* remove travis
tsteven4 [Mon, 10 Oct 2022 15:35:38 +0000 (09:35 -0600)]
fix skipping of kml validation with valgrind. (#930)
tsteven4 [Mon, 10 Oct 2022 14:59:26 +0000 (08:59 -0600)]
use cmake for ubuntu CI, CMakeFileLists tweaks. (#929)
refactor ubuntu workflow using a matrix.
create gpsbabelfe_lupdate, gpsbabelfe_lrelease targest on all platorms.
add USES_TERMINAL to check-vtesto so we can see test progress live.
update docker images for focal and jammy for Qt5 cmake issues.
update docker image for jammy adding Qt6. This uses a PPA to work
around https://bugs.launchpad.net/ubuntu/+source/qt6-base/+bug/
1970057.
Note the PPA isn't actually required to build, but it is required to
run the GUI, i.e. all users on jammy using Qt6 who want to run the GUI will
need the PPA, or need ubuntu to incorporate the upstream debian fix!
tsteven4 [Mon, 3 Oct 2022 20:52:19 +0000 (14:52 -0600)]
move CI sanitizier, clazy, coverage builds to cmake (#926)
* switch linux CI extra_tests and coverage builds to cmake.
* add ninja to linux coverage install list
* add qt serial for coverage build
* add webengine for coverage build
* actually fail when ubsan finds an error!
* avoid divide by zero error in kml writer.
* teach camke that the check target uses the console.
this lets the test output show up as the tests run instead of
delaying it all until the end.
tsteven4 [Mon, 3 Oct 2022 17:47:28 +0000 (11:47 -0600)]
simplify cmake builds (#925)
* fix some Qt version dependencies.
* disable strptime warning.
* simplify CMakeLists.txt.
* update a macos build to Xcode 13.2.1 (clang 13)
* Revert "update a macos build to Xcode 13.2.1 (clang 13)"
This reverts commit
2bd252713607249683db3b2dae7452c481041850.
* Revert "disable strptime warning."
This reverts commit
b75ca3882185d7d9e3b4fd288f2b847bf2f56bfd.
tsteven4 [Sat, 24 Sep 2022 14:09:58 +0000 (08:09 -0600)]
fix Qt version dependencies (#922)
* fix some Qt version dependencies.
* disable strptime warning.
tsteven4 [Fri, 23 Sep 2022 12:46:08 +0000 (06:46 -0600)]
prepare for deprecation of qmake. (#920)
* prepare for deprecation of qmake.
build a release level package in CI with cmake on windows & macOS.
this can be compared with the release package build in CI with qmake.
support cmake multi-config generators on macOS (e.g. Xcode) as well
as well as single-config generators (.e.g Unix Makefiles, Ninja).
support packaging of out of source builds on macOS when using cmake.
note that Qt6 support for packaging still has many features in
preview, thus we still use our script based packaging.
move some Ubuntu CI jobs to jammy. Unfortunately Qt6WebEngine is
unusable on jammy due to a bug in qt6-base. So we are still using
Qt5 :(
https://bugs.launchpad.net/ubuntu/+source/qt6-base/+bug/
1970057
* isolate qmake and cmake flows for windows.
add on on demand CI workflow for esoteric windows cases.
* use qt tools from cmake prefix, add gpsbabel translation support.
* fix coretool on windows.
add qt binary directory to environment so coretool can find the
Qt DLLs.
* catch coretool cmake up with #921.
* update packaging dependencies
tsteven4 [Tue, 20 Sep 2022 18:03:33 +0000 (12:03 -0600)]
coretool fixes and enhancements (#921)
* get coretool to work on macos under qmake.
* enhance coretool.
1. don't use stderr for coretool output. This avoids comingling of
real error messages with the coretool output.
2. disable the similartext heuristic with coretool. This heuristic,
which is enabled by default, was resulting in occasional mistranslations.
tsteven4 [Fri, 2 Sep 2022 19:17:12 +0000 (13:17 -0600)]
github runner updates (#919)
* update github action for macos, windows.
* fix macos action
* try harder to fix macos action
* try harder yet
* simplify mac cache keys, no compiler dependency
tsteven4 [Tue, 30 Aug 2022 15:16:42 +0000 (09:16 -0600)]
Merge pull request #917 from tsteven4/taborder
set tab order for filter widgets.
tsteven4 [Tue, 30 Aug 2022 14:10:08 +0000 (08:10 -0600)]
set tab order for filter widgets.
tsteven4 [Thu, 25 Aug 2022 13:40:43 +0000 (07:40 -0600)]
Merge pull request #916 from tsteven4/issue915
fix GUI handling of track filter start/stop times.
tsteven4 [Thu, 25 Aug 2022 13:18:40 +0000 (07:18 -0600)]
use radio buttons for exclusive choice of timespec
for track filter start and stop times in GUI.
tsteven4 [Tue, 23 Aug 2022 18:36:22 +0000 (12:36 -0600)]
fix GUI handling of track filter start/stop times.
This resolves #915
The timeSpec of the QDateTimeEdit objects is maintained in
accordance with the TZCheck QCheckBox. This solves additional
issues with DST transitions and edits.
tsteven4 [Mon, 22 Aug 2022 13:19:52 +0000 (07:19 -0600)]
fix maps javascript api deprecation warning. (#914)
js: google.maps.event.addDomListener() is deprecated, use the standard addEventListener() method instead: https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener
tsteven4 [Thu, 18 Aug 2022 13:06:56 +0000 (07:06 -0600)]
QStringize vecs a bit more. (#913)
This fixes an ancient FIXME regarding the use of the option name
to indicate a option was given without a value.
This enhances the validity checking of default, minimum and maximum
values.
tsteven4 [Mon, 15 Aug 2022 13:01:08 +0000 (07:01 -0600)]
replace atoi, atol, atof (#912)
* eliminate usage of atoi
which has possible undefined behavior.
* eliminate a couple more atoi usages.
* eliminate atol usage.
* eliminate use of atof.
tsteven4 [Tue, 9 Aug 2022 15:14:27 +0000 (09:14 -0600)]
delete reference files not used by testo (or whitelisted) (#911)
* delete reference files not used by testo.
the script tools/obsolete_unused_reference_files does this,
altough it might be delicate.
note any unused files in the reference tree will be deleted!
* restore used alternate reference file
* restore and whitelist some reference files.
* restore and whitelist a reference readme file.
* Revert "restore and whitelist a reference readme file."
This reverts commit
496fbf58d9b083863ae5011db4f8e48e044af546.
* use 'sort -u' instead of 'sort | uniq'.
* whitelist some reference files that are referred to in comments.
tsteven4 [Mon, 8 Aug 2022 23:28:49 +0000 (17:28 -0600)]
delete obsolete and unused document sections. (#910)
tsteven4 [Mon, 8 Aug 2022 20:22:31 +0000 (14:22 -0600)]
remove remnants of zombie f90g_track. (#909)
This format was retired in #868
8b7a8613bca79cbbd62aae5378b6073ec511bb99
tsteven4 [Mon, 8 Aug 2022 19:10:28 +0000 (13:10 -0600)]
Add missing qstartz_bl_1000 header to build generators. (#908)
tsteven4 [Mon, 8 Aug 2022 18:46:03 +0000 (12:46 -0600)]
remove remnants of zombie mapbar. (#907)
this format was removed in #870
dd320d39acfc7e3ebb57df04f3a52e0350cc6bac
tsteven4 [Thu, 4 Aug 2022 17:39:14 +0000 (11:39 -0600)]
retire html_entitize, xml_entitize. (#906)
* retire html_entitize, xml_entitize.
in favor of QString::toHtmlEscaped() and XmlStreamWriter.
* delete obsolete entity struct.
tsteven4 [Wed, 3 Aug 2022 23:35:31 +0000 (17:35 -0600)]
convert html writer to html 5. (#905)
this also fixes a bug where we could fail to entitize wpt->description.
this also fixes a bug where we could create illegal fragments and id
attributes.
tsteven4 [Wed, 3 Aug 2022 13:54:29 +0000 (07:54 -0600)]
convert html writer to textstream. (#904)
tsteven4 [Wed, 3 Aug 2022 13:04:04 +0000 (07:04 -0600)]
update text writer to use a textstream. (#903)
* convert text writer to textstream.
* tweak text writer
tsteven4 [Tue, 2 Aug 2022 16:15:33 +0000 (10:15 -0600)]
deleted obsolete osm declaration. (#902)
tsteven4 [Tue, 2 Aug 2022 14:15:25 +0000 (08:15 -0600)]
use xmlstreamwriter with osm format (#901)
* convert osm writer use xmlstreamwriter
* use xmlstreamwriter for osm.
* add missing reference files for osm test.
* fix time zone test issues with osm writer test.
* use writeEmptyElement in osm writer
tsteven4 [Sun, 31 Jul 2022 21:48:04 +0000 (15:48 -0600)]
change return type of strip_html, strip_nastyhtml to QString. (#900)
tsteven4 [Sun, 31 Jul 2022 20:28:25 +0000 (14:28 -0600)]
change return type of convert_human_[date|time]_format to QString. (#899)
tsteven4 [Sun, 31 Jul 2022 19:35:03 +0000 (13:35 -0600)]
change return type get_cache_icon, gs_get_cachetype, gs_get_container to QString. (#898)
tsteven4 [Sun, 31 Jul 2022 17:59:34 +0000 (11:59 -0600)]
return QString from html_entitize, xml_entitize. (#897)
tsteven4 [Sun, 31 Jul 2022 14:34:21 +0000 (08:34 -0600)]
change return type of pretty_deg_format to QString. (#896)
this fixes memory leak in garmin_gpi, and adds a test.
enhance testing of pretty_deg_format to get coverage of dms.
tsteven4 [Mon, 18 Jul 2022 11:52:07 +0000 (05:52 -0600)]
use QStringView with namepart parameter in add wpt functions. (#891)
* use QStringView with namepart parameter in add wpt functions.
* update includes
tsteven4 [Mon, 18 Jul 2022 10:59:29 +0000 (04:59 -0600)]
Merge pull request #892 from tsteven4/tidyup
various clang tidy fixes
tsteven4 [Sun, 17 Jul 2022 19:31:49 +0000 (13:31 -0600)]
clang tidy modernize-raw-string-literal
tsteven4 [Sun, 17 Jul 2022 17:35:05 +0000 (11:35 -0600)]
clang tidy readability-avoid-const-params-in-decls
tsteven4 [Sun, 17 Jul 2022 16:59:24 +0000 (10:59 -0600)]
clang tidy readability-convert-member-functions-to-static
manually removed now unnecessary Functors.
tsteven4 [Sun, 17 Jul 2022 16:47:06 +0000 (10:47 -0600)]
clang tidy readability-duplicate-include
tsteven4 [Fri, 15 Jul 2022 00:03:28 +0000 (18:03 -0600)]
Merge pull request #889 from tsteven4/qstringliterals
string optimizations
tsteven4 [Mon, 11 Jul 2022 18:01:00 +0000 (12:01 -0600)]
use utf-16 string literals with [QDateTime,QDate,QTime]::toString format parameters.
tsteven4 [Mon, 11 Jul 2022 12:57:13 +0000 (06:57 -0600)]
use QStringLiteral with constant QStrings and QString::arg(*).
tsteven4 [Thu, 7 Jul 2022 19:19:07 +0000 (13:19 -0600)]
retire qsort in favor of std::sort, std::stable_sort (#888)
* replace qsort with std::sort or std::stable_sort
* add test for duplicate filter using gc_data exported dates.
* fix reference file permissions.
* fix smplrout sort bug that shows up on macos with std::sort.
the compare function has always generated incorrect values when
both objects are HUGEVAL. The historic function worked with qsort
everywhere, worked with std::sort on linux and windows, but failed
with std::sort on macos.
Robert Lipe [Wed, 22 Jun 2022 23:23:14 +0000 (18:23 -0500)]
Remove stray spaces from reference files, code that put them there. (#885)
* Remove spaces from generated help messages, reference files.
Robert Lipe [Wed, 22 Jun 2022 22:18:47 +0000 (17:18 -0500)]
Final deprecation of: cup dmtlog dna igc itracku navitel nima raymarine s_and_t tef_xml tef_xml teletype teletype tomtom tomtom_asc tomtom_itn tomtom_itn_places wintec_tes wintec_tes xol (#884)
Second wave of Feb 28 gpsbabel-misc discussion, "RFC: Removing little used..."
tsteven4 [Tue, 14 Jun 2022 18:13:17 +0000 (12:13 -0600)]
add option to transform filter to delete creation times (#882)
* add option to transform filter to delete creation times
* document grammar corrections.
GPSBabel [Tue, 14 Jun 2022 16:56:16 +0000 (11:56 -0500)]
Use swap to swap in the swap filter. (#883)
* Use swap to swap in the swap filter.
* Fix spacing in *gpi.cc
* Replae ^I in *gpi.cc with spaces, per project conventions.
Co-authored-by: Robert Lipe <robertlipe@users.noreply.github.com>
tsteven4 [Sun, 29 May 2022 12:09:02 +0000 (06:09 -0600)]
misc cleanups from clion. (#881)
tsteven4 [Mon, 23 May 2022 22:19:19 +0000 (16:19 -0600)]
update libusb to 1.0.26. (#877)
The following warnings are resolved in 1.0.25, but the lateset release is 1.0.26.
warning: 'kIOMasterPortDefault' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
GPSBabel [Mon, 23 May 2022 21:24:55 +0000 (16:24 -0500)]
Remove xstrappend (#878)
* PDF maker: format screen and input same. Shrink padding slightly.
* Use reference counted pointers instead of managing our own.
Fixes a leak when using debug printing.
* Remove the last remaining caller of xstrappend and thus, that c-era utility.
Co-authored-by: Robert Lipe <robertlipe@users.noreply.github.com>
tsteven4 [Fri, 15 Apr 2022 13:59:06 +0000 (07:59 -0600)]
update zlib to 1.2.12 (#875)
* update to zlib 1.2.12
* actually checking the changes for zlib!
Robert Lipe [Sat, 26 Mar 2022 17:43:48 +0000 (12:43 -0500)]
Merge pull request #870 from GPSBabel/nukei-m
Turn down bcr ignrando igo8 ik3d lmx mapasia mapfactor mmo mtk_locus mynav igo2008 igoprim o kompass_tk kompass_wp mainnav mapasia mapbar mapconverter mxf tef
Robert Lipe [Sat, 26 Mar 2022 17:16:10 +0000 (12:16 -0500)]
Update vecs.cc
Robert Lipe [Sat, 26 Mar 2022 16:39:10 +0000 (11:39 -0500)]
Merge pull request #866 from GPSBabel/delsaplus
Delete saplus
Robert Lipe [Sat, 26 Mar 2022 10:53:59 +0000 (05:53 -0500)]
Merge branch 'master' into delsaplus
Robert Lipe [Sat, 26 Mar 2022 10:49:33 +0000 (05:49 -0500)]
Synchronize trunk with dropped destinator, easygps formats.
Robert Lipe [Sat, 26 Mar 2022 10:45:07 +0000 (05:45 -0500)]
Pick up dropped commit to nukei-m to vecs.cc
Robert Lipe [Sat, 26 Mar 2022 09:57:19 +0000 (04:57 -0500)]
Merge branch 'master' into delsaplus
Robert Lipe [Sat, 26 Mar 2022 09:44:39 +0000 (04:44 -0500)]
Update format3.txt
Robert Lipe [Sat, 26 Mar 2022 09:42:46 +0000 (04:42 -0500)]
Merge pull request #867 from GPSBabel/saroute
Delete saroute for nonuse.
Robert Lipe [Sat, 26 Mar 2022 09:40:17 +0000 (04:40 -0500)]
Update GPSBabel.pro
Robert Lipe [Sat, 26 Mar 2022 09:34:55 +0000 (04:34 -0500)]
Update format2.txt
Robert Lipe [Sat, 26 Mar 2022 09:34:39 +0000 (04:34 -0500)]
Update format1.txt
Robert Lipe [Sat, 26 Mar 2022 09:34:23 +0000 (04:34 -0500)]
Update format0.txt
Robert Lipe [Sat, 26 Mar 2022 09:17:33 +0000 (04:17 -0500)]
Update format1.txt
Robert Lipe [Sat, 26 Mar 2022 09:16:05 +0000 (04:16 -0500)]
Update format0.txt
Robert Lipe [Sat, 26 Mar 2022 09:14:51 +0000 (04:14 -0500)]
Update format2.txt
Robert Lipe [Sat, 26 Mar 2022 09:07:58 +0000 (04:07 -0500)]
Update format2.txt
Robert Lipe [Sat, 26 Mar 2022 09:06:47 +0000 (04:06 -0500)]
Update format1.txt
Robert Lipe [Sat, 26 Mar 2022 09:05:34 +0000 (04:05 -0500)]
Update format0.txt
Robert Lipe [Sat, 26 Mar 2022 09:02:23 +0000 (04:02 -0500)]
Merge branch 'master' into nukei-m
Robert Lipe [Sat, 26 Mar 2022 08:15:07 +0000 (03:15 -0500)]
Merge branch 'master' into saroute
Robert Lipe [Sat, 26 Mar 2022 08:10:58 +0000 (03:10 -0500)]
Merge branch 'master' into delsaplus
Robert Lipe [Sat, 26 Mar 2022 08:00:11 +0000 (03:00 -0500)]
Merge pull request #868 from GPSBabel/deldthrf
Delete destinator_itn destinator_poi destinator_trl easygps energympro enigma f90g flys ight fugawi from disuse.
Robert Lipe [Sat, 26 Mar 2022 07:59:56 +0000 (02:59 -0500)]
Merge branch 'master' into deldthrf
Robert Lipe [Sat, 26 Mar 2022 07:57:35 +0000 (02:57 -0500)]
Merge pull request #873 from tsteven4/clazy-use-static-qregularexpression
use static const qregularexpressions where possible
Robert Lipe [Sat, 26 Mar 2022 07:56:39 +0000 (02:56 -0500)]
Merge pull request #869 from GPSBabel/delg
Delete geonet googledir gnav_trl ggv_ovl ggv_bin ggv_log glogbook gnav_trl hiketech
Robert Lipe [Sat, 26 Mar 2022 07:56:08 +0000 (02:56 -0500)]
Merge pull request #865 from GPSBabel/nuke
Delete Delorme GPL format for disuse.
tsteven4 [Sat, 19 Mar 2022 20:34:56 +0000 (14:34 -0600)]
use cmake to run clazy.
this avoids warnings in Qt headers.
we also build both the CLI and GUI.
tsteven4 [Sat, 19 Mar 2022 18:38:38 +0000 (12:38 -0600)]
use static const QRegularExpressions in GUI.
tsteven4 [Sat, 19 Mar 2022 14:01:01 +0000 (14:01 +0000)]
use static const qregularexpressions where possible
tsteven4 [Sat, 19 Mar 2022 12:21:54 +0000 (06:21 -0600)]
update to Qt 6.2.4 (#872)
OlesyaGerasimenko [Fri, 18 Mar 2022 14:33:30 +0000 (17:33 +0300)]
Update Russian translation (#864)
* Update Russian translation
* Update Russian translation
tsteven4 [Fri, 18 Mar 2022 12:31:21 +0000 (06:31 -0600)]
fix cross-origin resource sharing issues with map preview. (#871)
* fix cross-origin resource sharing issues with map preview.
This became critical in Qt 6.2.4 when using the file scheme
with gmapbase.html.
* Ensure QWebEngineSettings are set before page load.
Robert Lipe [Thu, 17 Mar 2022 08:42:34 +0000 (03:42 -0500)]
Fix errors running tests from CMake.
Robert Lipe [Thu, 17 Mar 2022 07:12:29 +0000 (02:12 -0500)]
Fix CMake build errors for test.
Robert Lipe [Thu, 17 Mar 2022 06:39:59 +0000 (01:39 -0500)]
Head off build errors for CMake tests.
Robert Lipe [Thu, 17 Mar 2022 06:35:51 +0000 (01:35 -0500)]
rewrite unicsv test to not depend on (now deleted) MXF
Robert Lipe [Thu, 17 Mar 2022 05:31:30 +0000 (00:31 -0500)]
Create SECURITY.md
Robert Lipe [Thu, 17 Mar 2022 05:04:00 +0000 (00:04 -0500)]
Catch up doc